package com.example.friendcash.database.dao.interfaces;

import android.database.sqlite.SQLiteDatabase;

import java.util.List;

public interface IGenericDao<T> {

    void createStorage(SQLiteDatabase db);

    List<T> getAll();

    long add(T object);

    T getEntityById(long addedEventId);

    int remove(long id);
}
